<template>
<p>你也可以展示除数字以外你想要展示的任何值。</p>
<div text="sm" m="y-4" data-v-72294632=""><p>当 value 是 String 时，可以显示自定义文字。</p>
</div>
  <el-badge value="new" class="item">
    <el-button>comments</el-button>
  </el-badge>
  <el-badge value="hot" class="item">
    <el-button>replies</el-button>
  </el-badge>
</template>

<style scoped>
.item {
  margin-top: 10px;
  margin-right: 40px;
}
</style>

<style scoped>
@import '../../assets/elementPlusDemo.css'
</style>